option
Type
keyword
Summary
Specifies one of the menu types that can be used with the menuMode property.
Syntax
option
Description
Use the option keyword to create a popup, option, or drop-down menu.
If the lookAndFeel property is set to "Appearance Manager" or "Macintosh", the option keyword designates a popup menu. If the lookAndFeel is "Motif", the option keyword designates an option menu. If the lookAndFeel is "Windows 95", the option keyword designates a drop-down list similar to a combo box.
Option menus are normally used to designate a state. Choosing an item from an option menu changes the menu's current setting, making this menu type suitable for situations in which the user must choose one of the predefined states.
Examples
set the menuMode of button "Style" to option
Related
glossary: property, keyword, popup menu, combo box
property: lookAndFeel, menuMode
Compatibility and Support
Introduced
LiveCode 1.0
OS
mac
windows
linux
Platforms
desktop
server